package com.work.biz.domain;

import com.work.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.work.common.core.domain.BaseEntity;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 通知信息详情对象 biz_notice_detail
 *
 * @author lee
 * @date 2021-04-22
 */
public class BizNoticeDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 通知详情ID
     */
    @ApiModelProperty( value = "通知ID")
    private Long detailId;

    /**
     * 通知ID
     */
    private Long noticeId;

    /**
     * 学生ID
     */
    @ApiModelProperty(value = "学生ID")
    private Long studentId;

    /**
     * 学生学号
     */
    @Excel(name = "学生学号")
    @ApiModelProperty(value = "学生学号")
    private String studentNo;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    @ApiModelProperty(value = "学生姓名")
    private String studentName;

    /**
     * 通知标题
     */
    private String noticeTitle;

    /**
     * 通知内容
     */
    @Excel(name = "通知内容")
    private String noticeContent;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 阅读状态（0未读 1已读）
     */
    @ApiModelProperty(value = "阅读状态 0未读，1已读")
    private String readStatus;

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Long getDetailId() {
        return detailId;
    }

    public void setNoticeId(Long noticeId) {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() {
        return noticeId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public String getReadStatus() {
        return readStatus;
    }

    public void setReadStatus(String readStatus) {
        this.readStatus = readStatus;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("detailId", getDetailId())
                .append("noticeId", getNoticeId())
                .append("studentId", getStudentId())
                .append("studentName", getStudentName())
                .append("studentNo", getStudentNo())
                .append("noticeTitle", getNoticeTitle())
                .append("noticeContent", getNoticeContent())
                .append("readStatus", getReadStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
